package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.OrderGoods;

public interface OrderGoodsMapper extends BaseDaoMapper<OrderGoods, Long>{
	
	/**
	 * 根据订单id获取所有商品
	 *
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getOrderGoodsList(Map<String, Object> params);
	
	/**
	 * 修改订单商品状态通过商品id
	 *
	 * @param paramMap
	 * @return
	 */
	public void updateStateByGoodsId(OrderGoods orderGoods);
}